EXE= Red
SRC= 	Red.cpp \
	IItemType.cpp \
	rBuffer.cpp \
	rEngine.cpp \
	rItem.cpp \
	rSurface.cpp \
	rTextType.cpp 

INCDIR= -I/usr/local/include/lua51/ \
	-I/usr/local/include/GL/ \
	-I/usr/local/include/freetype2/ \
	-I/usr/local/include/

LDDIR=	-L/usr/local/lib/lua51/ \
	-L/usr/local/lib/gl/ \
	-L/usr/local/lib/freetype2/freetype/ \
	-L/usr/local/lib/
 
LD= 	-lGL -lGLU -lglut -lfreetype -llua-5.1 

build:
	clang++ -ggdb -o $(EXE) $(INCDIR) $(LDDIR) $(LD) $(SRC)
